package com.bite.book.service;

import com.bite.book.mapper.UserInfoMapper;
import com.bite.book.model.UserInfo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User:DELL
 * Date:2025-06-03
 * Time:16:58
 */
@Service
public class UserService {
    @Autowired//调用Mapper
    private UserInfoMapper userInfoMapper;
    public UserInfo getUserInfoByName(String userName){
        return userInfoMapper.getUserInfoByName(userName);
    }
}
